#ifndef BOOLEAN_H
#define BOOLEAN_H

#include "Object.h"

class Boolean : public Object
{
public:
	Boolean(bool number);
	bool operator&&(var& o);
	bool operator||(var& o);
	bool operator==(var& o);
    bool operator!=(var& o);
	bool operator!();

	bool operator&&(bool o);
	bool operator||(bool o);
	bool operator==(bool o);
    bool operator!=(bool o);

	friend bool operator&&(bool number, var& o);
	friend bool operator||(bool number, var& o);
	friend bool operator!=(bool number, var& o);
	friend bool operator==(bool number, var& o);

	const char* toString();
	bool		toBool();

	bool m_bool;
};

#endif